Skip to content

Remove strange entity-wrapping code#1257

Open
7f-galaxii wants to merge 1 commit intoTerryCavanagh:masterfrom
7f-galaxii:warp-fix
Open

Remove strange entity-wrapping code#1257
7f-galaxii wants to merge 1 commit intoTerryCavanagh:masterfrom
7f-galaxii:warp-fix

Conversation

@7f-galaxii
Copy link

Changes:

This removes a block of code that checks for specifically vertical screenwrap, and then does horizontal entity wrapping. Under normal circumstances, this code is never reached, because entity bounds aren't expanded in the x-direction if horizontal wrapping is disabled.

Legal Stuff:

By submitting this pull request, I confirm that...

  • My changes may be used in a future commercial release of VVVVVV
  • I will be credited in a CONTRIBUTORS file and the "GitHub Friends"
    section of the credits for all of said releases, but will NOT be compensated
    for these changes unless there is a prior written agreement

This removes a block of code that checks for specifically vertical screenwrap, and then does horizontal entity wrapping. Under normal circumstances, this code is never reached, because entity bounds aren't expanded in the x-direction if horizontal wrapping is disabled.
@7f-galaxii
Copy link
Author

I ran this PR by both @mothbeanie and @NyakoFox, and they agreed that despite changing behavior, it would not change behavior in any meaningful way. Notably, it does not affect speedrunning, no custom levels have ever used it, and this is behavior that can be replicated by using intended features (setting warp direction to "All").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant